Guild icon
S3Drive
Community / support / Cubbit CORS issues in Web app "Exception: DioException [connection error]"
Avatar
Everything downloads 0 bytes and gives this message when previewing a text file in the web app. Any idea why? Uploading files seems to work though
Avatar
Hi, This one is likely something CORS related. Feel free to: "Set up CORS" from the settings menu (ideally from a mobile/desktop client) and try again. What's your S3 provider? I would give it a go and check where the issue might be. (edited)
Avatar
ah okay. I tried to set up CORS but it get error "Failed: Not Implemented" so i guess my S3 provider cubbit.io does not support it yet. although they do advertise "100% S3 compatible". Perhaps i need to enable it some how. i'll ask them. thanks (edited)
Avatar
Based on my experience and couple user's bug reports Cubbit is pretty far from being 100% S3 compatible, but most providers have its own quirks be it MinIO or Backblaze. If I can ask, what made you choose Cubbit? I can see some increased interest around them since couple weeks.
Avatar
Of course! Yeah they're still in their early days for S3 which makes bug fixing for you difficult i bet! But they offered a pay-once option a few years ago where you connect your own hard drives to their 'cell' for cloud storage. It was a great idea but was reaaaly slow. They're shutting down their web app and old protocol, and moving completely to S3 so i've now got 4TB of S3 but no way to use it as a personal cloud. Until now! 😁 They have said they'll be making desktop and mobile apps at some point but i won't hold by breath! here's their kickstarter from 5 years ago if you're interested! https://www.kickstarter.com/projects/cubbit/cubbit-reinventing-the-cloud Thanks again, really glad I found S3Drive!
World's first distributed cloud is here. Privacy by design, forever-free, lightning-fast, expandable up to 4TB and more. Join the Swarm
👍 1
Tom changed the channel name: Cubbit CORS issues in Web app "Exception: DioException [connection error]" 11/23/2023 1:43 PM
Avatar
So what should we do currently ?
12:14 PM
Avatar
It seems that they don't support PutBucketCors request, so it can't be set from S3Drive, but they haven't provided an alternative way how to set up CORS in their e-mail response. Most providers on top of S3 API to set up CORS from their admin panel and that's what Cubbit should also offer, however I haven't found any evidence of that. Feel free to ask them how you can set up CORS settings, so your bucket can be accessed from web browser context. The alternative way is to route traffic through some proxy (e.g. NginX) which can modify this response header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin but I don't think this is a viable option for most users given the required overhead. (edited)
Avatar
thanks a lot ,pretty sad for not supporting CORS
Exported 10 message(s)
Timezone: UTC+0